package entity;

/**
 * @Description
 * @Author:PrinceHan
 * @CreateTime:2021/11/02 19:36
 */
public class Phone {
    private String name;
    private String phonenum;

    public Phone() {
    }

    public Phone(String name, String phonenum) {
        this.name = name;
        this.phonenum = phonenum;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhonenum() {
        return phonenum;
    }

    public void setPhonenum(String phonenum) {
        this.phonenum = phonenum;
    }

    @Override
    public String toString() {
        return name + "\t\t" + phonenum;
    }
}
